package com.bicon.base.data.framework.web.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.bicon.base.data.pojo.system.dictionary.DictionaryData;
import com.bicon.base.data.service.system.dictionary.IDictionaryDataService;

/**
 * RuoYi首创 html调用 thymeleaf 实现字典读取
 * 
 * @author zhoutianqi
 */
@Component
public class DictService
{
    @Autowired
    private IDictionaryDataService dictDataService;

    /**
     * 根据字典类型查询字典数据信息
     * 
     * @param dictType 字典类型
     * @return 参数键值
     */
    public List<DictionaryData> selectDictData(String dictType)
    {
        return dictDataService.selectDictDataByType(dictType);
    }
}
